<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>标题</th>
            <th>分组</th>
            <th>排序</th>
            <th>状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.title}</td>
            <td>{$vo.conf_group|afn_get_text=###,'VAR_GROUP'}</td>
            <td class="sort"><input type="text" value="{$vo.sort}" size="3" data-value="{$vo.sort}" data-url="{:U('change_sort','id='.$vo['id'].'&sort=varsort')}" title="更改后,鼠标点击页面任意位置即可自动生效" /></td>
            <td class="status"><a href="{:U('change_status','id='.$vo['id'].'&status=varstatus')}" data-value="{$vo.status}" title="点击隐藏" class="xsui-success"><i class="fa fa-check fa-fw"></i></a></td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:U('conf_edit','id='.$vo['id'])}" class="xsui-lnk-edit-dialog" data-id="{$vo.id}" title="编辑 {$vo.title}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:U('conf_delete','id='.$vo['id'])}" class="xsui-lnk-remove" data-confirm="{'code':'zhan123'}" data-id="{$vo.id}" title="删除 {$vo.title}"><i class="fa fa-remove fa-fw"></i>删除</a> </li>
                </ul>
                </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>